package com.ibeeking.gmc.global.g.rest.service;

import com.ibeeking.gmc.global.service.common.dos.TenantBankDO;
import com.ibeeking.gmc.global.service.common.param.TenantBankParam;
import com.ibeeking.gmc.global.service.common.vo.TenantBankVO;
import com.baomidou.mybatisplus.extension.service.IService;


/**
 * ITenantBankService
 *
 * @Author ibeeking
 * @Date 2021-01-14 13:53
 */
public interface ITenantBankService extends IService<TenantBankDO> {


    /***
     * 新增
     */
    Boolean add(TenantBankParam tenantBankParam);

    /***
     * 修改
     */
    Boolean modify(TenantBankParam tenantBankParam);

    /***
     * 通过id查询
     */
    TenantBankVO view(Long id);


    /***
     * 通过id删除
     */
    Boolean del(Long id);

    TenantBankVO queryByTenantId(Integer id);

    Boolean delByTenantId(Long id);

    Boolean changeStatus(Integer tenantId, Integer auditStatus);

}